<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 传统CSS -->
    <!-- <style type="text/css">
        .d1{
            width: 200px;
            height: 200px;
            border: 1px solid blue;
        }
        .d2{
            width: 100px;
            height: 100px;
            border: 1px solid blue;
        }
    </style> -->

    <!-- 方式1：直接使用less -->
    <!-- <style type="text/less">
        @color:green;
        .d1{
            width: 200px;
            height: 200px;
            border: 1px solid @color;
        }
        .d2{
            width: 100px;
            height: 100px;
            border: 1px solid @color;
        }
    </style> -->

    <!-- <link rel="stylesheet/less" href="less/01.less"> -->

    <!-- 引入less.min.js文件 -->
    <!-- <script src="js/less.min.js"></script> -->

    <!-- 方式2：直接引用CSS文件 -->
    <link rel="stylesheet" href="css/01.css">
</head>
<body>
    <div class="d1">div1</div>
    <div class="d2">div2</div>
</body>
</html>